package cn.jdy.plugins.entity;

import cn.jdy.common.bo.BaseEntry;
import cn.jdy.framework.db.hibernate.Validator;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.UniqueConstraint;

import java.io.Serializable;

/**
 *我的银行卡
 */
@Entity
public class MemberCard extends BaseEntry implements Serializable {
	private static final long serialVersionUID = 1L;
	  @Id
	  @GeneratedValue(strategy = GenerationType.AUTO)             //根据数据库自动适配 mysql默认自增
	  private Integer id;

	

	 private String status;//用户状态  0已认证  1未认证
	 private String cardname;//持卡人
	 private String cardnumber;//卡号
	 private String smh;//什么行  0建行1工行3中国银行4农行
	 private String memberid;// 
	 private String membername;// 
	 
	public String getMemberid() {
		return memberid;
	}
	public void setMemberid(String memberid) {
		this.memberid = memberid;
	}
	public String getMembername() {
		return membername;
	}
	public void setMembername(String membername) {
		this.membername = membername;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getCardname() {
		return cardname;
	}
	public void setCardname(String cardname) {
		this.cardname = cardname;
	}
	public String getCardnumber() {
		return cardnumber;
	}
	public void setCardnumber(String cardnumber) {
		this.cardnumber = cardnumber;
	}
	public String getSmh() {
		return smh;
	}
	public void setSmh(String smh) {
		this.smh = smh;
	}

}